package com.legendshop.openportal.sdk.model.request;

import com.legendshop.openportal.sdk.model.BaseRequest;
import com.legendshop.openportal.sdk.model.constants.ApiPathConstants;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;

/**
 * @author jzh
 * @version 1.0.0
 * @title AfterSaleCancelRequest
 * @date 2024/6/29 17:25
 * @description：取消售后单
 */
@Data
public class AfterSaleCancelRequest extends BaseRequest {

    private static final long serialVersionUID = 1749785267866372330L;

    /**
     * 售后单号
     */
    @NotBlank(message = "售后单号不能为空")
    @ApiModelProperty(value = "售后单号", required = true)
    private String refundSn;

    @Override
    @ApiModelProperty(hidden = true)
    public String getApiPath() {
        return ApiPathConstants.AFS_CANCEL;
    }
}
